<template>
	<view class="info">
		<view class="header">
			<view class="avatar">
				<image class="img" src="../../static/logo.png" mode="widthFix"></image>
			</view>

			<view class="name">
				<text>饶麒</text>
			</view>
			<view class="level">
				<text class="btn">会员</text>
			</view>
		</view>
		<view class="content">

		</view>
	</view>

</template>

<script>
	export default {

	}
</script>



<style scoped>
	.info {}

	.header {
		display: flex;
		background-color: #349544;
		align-items: center;
		height: 270rpx;
	}

	.avatar {
		width: 80%;
		/* height: 140rpx; */
		max-width: 140rpx;
		flex: 1;
		padding: 15rpx
	}

	.avatar>.img {
		border-radius: 50%;
		width: 100%;
	}

	.name {
		flex: 2;
		color: #fff;
		font-weight: bold;
		padding-top: 50rpx;
	}

	.level {
		flex: 1;
		text-align: right;
		padding-right: 15rpx;
	}

	.level>.btn {
		display: inline-block;
		background-color: #ccc;
		width: 120rpx;
		height: 50rpx;
		border-radius: 80rpx;
		color: black;
		line-height: 50rpx;
		text-align: center;
		font-weight: 600;
		margin-top: 50rpx;

	}
</style>
